﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="Credit_Teacher_DailyManage_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../../Common/css/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        
        /**
            导航个人查询
        */
        function leftNav(obj, nav) {
            removeActiveStyle();
            obj.parentNode.className = "active";
            var liList = document.getElementById("detailLi");
            liList.style.display = "none";
            switch(nav) {
                case 0:
                    parent.frames["mainFrame"].location.href = "Daily.aspx?type=0";
                    break;
                case 1:
                    parent.frames["mainFrame"].location.href = "Daily.aspx?type=1";
                    break;
            }
        }
                
        /**
            移除active样式
        */
        function removeActiveStyle() {
            var liList = document.getElementsByTagName("li");
            for (var i=0; i<liList.length; i++) {
                liList[i].className = "";
            }
        }
        
        window.onload = function() {
            parent.frames["mainFrame"].location.href = "Daily.aspx";
        }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="leftWarp" >
            <div class="menuBody">
                <div class="menuList">
                    <dl>
                    <h2>
                            评 价 管 理</h2>
                        <ul>
                            <dd>
                                <li class="active"><a href="#" onclick="leftNav(this, 0)">&nbsp;&nbsp;&nbsp;&nbsp;本学期评估</a></li>
                                </dd>
                                <li><a href="#" onclick="leftNav(this, 1)">&nbsp;&nbsp;&nbsp;&nbsp;历史评估</a></li>
                                <li id="detailLi" style="display:none;"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;详细信息</a></li>
                            </dd>
                        </ul>
                    </dl>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
